﻿using System.ComponentModel.DataAnnotations;
using Hicap.AuthorizationServer.CommonDto.BaseEntityDto;

namespace Hicap.AuthorizationServer.Sys.DTO.Comapnys
{
    public class CompanyListDto : EntityBaseListDto
    {
        /// <summary>
        /// CompanyCode
        /// </summary>
        [Required]
        public string CompanyCode { get; set; }

        /// <summary>
        /// CompanyName
        /// </summary>
        [Required]
        public string CompanyName { get; set; }

        /// <summary>
        /// CompanyType
        /// </summary>
        [Required]
        public int? CompanyType { get; set; }

        /// <summary>
        /// IsCertified
        /// </summary>
        public bool IsCertified { get; set; }

        /// <summary>
        /// License
        /// </summary>
        [Required]
        public string License { get; set; }
    }
}